The Not Equal operator tells the program to evaluate an expression (x<>y) and return a TRUE (if x is not equal to y) or FALSE (if x is equal to y).
The following examples are applicable to both Basic and Crystal syntax:
TRUE, where {orders.ORDER AMOUNT} is equal to 200 or {orders.ORDER AMOUNT} is equal to 401, etc.
FALSE, where {orders.ORDER AMOUNT} is equal to 400.
TRUE, when {file.DAY} = "Friday".
FALSE, when {file.DAY} = "Thursday".
TRUE, where the value of {file.ONHAND} is 10 or
FALSE, where the value of {file.ONHAND} is zero.
{file.AVAILABLE} - {file.USED} <>10
TRUE, where the value of the {file.AVAILABLE} field less the value of the {file.USED} field gives a result other than 10.
{file.AVAILABLE} - {file.USED} <>10
FALSE, where it gives a value of 10.
This operator is often used with If
Prints the word "FEMALE" if the value in the {file.SEX} field is not equal to "M", and prints the word "MALE" in all other situations.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |